package com.si.ui;

import java.awt.Component;
import java.util.Map;

import javax.swing.JMenuBar;

import com.si.ui.enumn.EMenuBar;

public class UIMenuBar extends JMenuBar implements IWidget {

	private static final long serialVersionUID = -5134404756276706791L;

	@Override
	public void initialize(final Map<String, Component> components) {
		final ConfigMenu menuConfig = new ConfigMenu();
		menuConfig.initialize(components);
		this.add(menuConfig);
		components.put(EMenuBar.ConfigMenu.toString(), menuConfig);
	}
}
